package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
    * 保养模板内容位置分类
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_maintain_template_location_type")
public class MaintainTemplateLocationType extends TenantEntity {
    /**
     * 父级id
     */
    @TableField(value = "parent_id")
    private Long parentId;

    /**
     * 名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 任务类型id
     */
    @TableField(value = "plan_type")
    private String planType;

    /**
     * 任务类型名称
     */
    @TableField(value = "plan_type_name")
    private String planTypeName;

    /**
     * 模板层级 1-一级 2-二级
     */
    @TableField(value = "tier")
    private Integer tier;
}
